<?php if ($this->allow_review || $this->config->show_hits){?>
<div class="rating-hits">
<?php if ($this->config->show_hits){?>
    <span class="hits"><strong><?php print _JSHOP_HITS?>: </strong> <?php print $this->product->hits;?></span>
    <?php } ?>
<table>
<tr>
    
    <?php if ($this->allow_review){?>
    <td><strong><?php print _JSHOP_RATING?>:</strong> </td>
    <td>
    <?php print showMarkStar($this->product->average_rating);?>                    
    </td>
    <?php } ?>    
</tr>
</table>
</div>
<?php } ?>